﻿<UserControl x:Class="personalplaner.gui.settings.views.AccountSettings"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:p="clr-namespace:personalplaner.gui.Properties">
    <Grid>

        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <GroupBox Header="{x:Static p:Resources.Anmeldung}" >
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition />
                </Grid.RowDefinitions>
                <CheckBox IsChecked="{Binding SavePassword}" >
                    <TextBlock Text="{x:Static p:Resources.PasswortNachAnmeldenBeibehalten}" Margin="10,0,0,0"/>
                </CheckBox>
            </Grid>
        </GroupBox>
        
        <GroupBox Header="{x:Static p:Resources.Allgemein}" Grid.Row="1">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition />
                </Grid.RowDefinitions>
                <CheckBox IsChecked="{Binding ShowDatabaseName}" >
                    <TextBlock Text="{x:Static p:Resources.DatenbanknameAnzeigen}" Margin="10,0,0,0"/>
                </CheckBox>
            </Grid>
        </GroupBox>

    </Grid>
</UserControl>
